package com.zxa.dao;

import com.zxa.pojo.Product;

import java.util.List;
import java.util.Map;

/**
 * Created by zxa on 17-7-22.
 */
public interface ProductDao
{

    public Map getAll();

    public Product get(String key);

    public void delete(String key);


    public void addOrUpdate(Product value);

    public void deleteAll();

}
